home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr05 / wet101.zip / WET.HPP < prev    next >
C/C++ Source or Header  |  1994-05-14  |  1KB  |  25 lines

  1.  
  2. // Functions provided by WETSTD.DLL
  3. extern "C"
  4. {
  5.   VOID FAR PASCAL _export EncryptXORBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
  6.   VOID FAR PASCAL _export EncryptTranspositionBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
  7.   VOID FAR PASCAL _export EncryptSubstitutionBlock(unsigned char far *block, int block_length, unsigned char far *code_key);
  8.   unsigned int FAR PASCAL _export CRCBlock(unsigned char far *block,int block_length);
  9.   unsigned int FAR PASCAL _export GetVersionWETSTD(void);
  10. }
  11.  
  12. // Functions provided by WETDES.DLL
  13. extern "C"
  14. {
  15.   VOID FAR PASCAL _export DESKeyloadEncrypt(unsigned char far *key);
  16.   VOID FAR PASCAL _export DESKeyloadDecrypt(unsigned char far *key);
  17.   VOID FAR PASCAL _export CryptDES(unsigned char far *datablock);
  18.   VOID FAR PASCAL _export EncryptDESBlock(unsigned char far *block,int block_length);
  19.   VOID FAR PASCAL _export DecryptDESBlock(unsigned char far *block,int block_length);
  20.   VOID FAR PASCAL _export EncryptDESBlockCBC(unsigned char far *block,int block_length);
  21.   VOID FAR PASCAL _export DecryptDESBlockCBC(unsigned char far *block,int block_length);
  22.   unsigned int FAR PASCAL _export GetVersionWETDES(void);
  23. }
  24.  
  25.